{% extends "bootstrap/base.html" %}
{% block title %}首页{% endblock %}
{% block styles %}
{{ super() }}
    <style>
    #myfoot{
        font-size: 14px;
        border-top: 1px;
        text-align: center;
        color: #c1c1ba;

    }
    </style>
{% endblock %}

{% block navbar %}
<nav class="navbar navbar-default">
  <div class="container-fluid">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <a class="navbar-brand" href="">超凡博客</a>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
        <li class="active"><a href="#">首页 <span class="sr-only">(current)</span></a></li>
        <li><a href="#">关于我</a></li>
        <li class="dropdown">
          <a href="#" class=“dropdown-toggle” data-toggle="dropdown" role="button" aria-haspopup="true"
             aria-expanded="false">文章分类 <span class="caret"></span></a>
          <ul class="dropdown-menu">
            <li><a href="#">程序人生</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="#">随笔</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="#">慢生活</a></li>
          </ul>
        </li>
          <li><a href="#">我的相册</a></li>
          <li><a href="#">留言板</a></li>
      </ul>
      <form class="navbar-form navbar-left">
        <div class="form-group">
          <input type="text" class="form-control" placeholder="Search">
        </div>
        <button type="submit" class="btn btn-default">搜索</button>
      </form>
      <ul class="nav navbar-nav navbar-right">
        <li><a href="{{ url_for('user.login') }}">登陆</a></li>
          <li><a href="{{ url_for('user.register') }}">注册</a></li>
      </ul>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>
{% endblock %}

{% block content %}
    {% block newcontent %}
  <h1>Hello, Bootstrap</h1>
        {% endblock %}
    {% block footer %}
    <p id="myfoot">底部</p>
{% endblock %}
{% endblock %}
